<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\Major */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="major-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'XXID')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->xX, 'ZWMC')->textInput()->label('学校名称') ?>

    <?= $form->field($model, 'BMID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZYDM')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZYMC')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZYJC')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'BXZYBH')->textInput(['maxlength' => true]) ?>
    
    <?= $form->field($model, 'PYFA')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZYJS')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'KSSJ')->textInput() ?>

    <?= $form->field($model, 'CXSJ')->textInput() ?>

    <?= $form->field($model, 'ZYMLBB')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZYLB')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZYFX')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZSLB')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'XZ')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'JXXS')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZXF')->textInput() ?>

    <?= $form->field($model, 'BXXF')->textInput() ?>

    <?= $form->field($model, 'SFGK')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'SFSN')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZSZG')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZT')->textInput(['maxlength' => true]) ?>

    <div class="form-group">
        <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
